package com.hean.activity;

import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.net.Uri;
import android.os.Bundle;

public class ContentProviderUser extends Activity{
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		ContentResolver resolver=this.getContentResolver();
		Uri uri=Uri.parse("content://com.hean.provider.contactprovider/t_contact");
		ContentValues values=new ContentValues();
		values.put("name", "hean");
		values.put("phone", "123");
		resolver.insert(uri, values);
	}
}
